package com.demo.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;

/**
 * created by yehao on 2018/7/19.
 */
@Configuration
@ComponentScan(basePackages = "com.demo.config")
public class TestConfig {
    public TestConfig(){
        System.out.print("TestConfig容器启动初始化。。。");
    }

/*    @Bean
    @Scope
    public TestBean testBean(){
        return new TestBean();
    }*/
}
